package activity

import (
	"gitee.com/zhanglibin/spike/dao/activity"
	"fmt"
)

func GetActivityInfo(id int) (result activity.Activity, err error) {
	fmt.Println("model",id)
	result, err = activity.GetActivityInfoById(id)
	if err != nil {
		return result,err
	}
	return result,err
}